package com.foreveross.fetl.core.domain.task;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.foreveross.fetl.common.domain.BaseEntity;
@SuppressWarnings("serial")
@javax.persistence.Entity
@Table(name = "FDC_FREIGHT_PUBLISH")
public class FreightPublishEntity extends BaseEntity {
	

	// 主鍵
	@Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.AUTO, generator = FDC_SEQ_GEN)
	@SequenceGenerator(name = FDC_SEQ_GEN, sequenceName = FDC_SEQUENCE)
	private Long id;
	
	@Column(name="STANDARD_PRICE")
	private Long standardPrice;
	
	@Column(name="FROMCITYNAME")
	private String fromCityName;
   
	@Column(name="TOCITYNAME")
	private String toCityName;
	@Column(name="FROMCITY")
	private String fromCity;
	@Column(name="TOCITY")
	private String toCity;
	
	private Integer mileage;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	

	/*public Long getTourist() {
		return tourist;
	}

	public void setTourist(Long tourist) {
		this.tourist = tourist;
	}

	public Long getOfficial() {
		return official;
	}

	public void setOfficial(Long official) {
		this.official = official;
	}

	public Long getBussiness() {
		return bussiness;
	}

	public void setBussiness(Long bussiness) {
		this.bussiness = bussiness;
	}*/

	public Integer getMileage() {
		return mileage;
	}

	public void setMileage(Integer mileage) {
		this.mileage = mileage;
	}

	public String getFromCityName() {
		return fromCityName;
	}

	public void setFromCityName(String fromCityName) {
		this.fromCityName = fromCityName;
	}

	public String getToCityName() {
		return toCityName;
	}

	public void setToCityName(String toCityName) {
		this.toCityName = toCityName;
	}

	public Long getStandardPrice() {
		return standardPrice;
	}

	public void setStandardPrice(Long standardPrice) {
		this.standardPrice = standardPrice;
	}

	public String getFromCity() {
		return fromCity;
	}

	public void setFromCity(String fromCity) {
		this.fromCity = fromCity;
	}

	public String getToCity() {
		return toCity;
	}

	public void setToCity(String toCity) {
		this.toCity = toCity;
	}

	
	

}
